.goods-page {
  background: var(--color-bg-soft);
}

.goods-top {
  background: var(--color-surface);
}

.goods-top .tabs :global(.adm-tabs-tab) {
  font-size: 15px;
}

.category-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-top: 1px solid var(--color-border);
}

.category-row .left {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-fg);
}

.bulk-link {
  color: var(--color-primary);
}

.search-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px 12px;
}

.search-row .search-row-left {
  display: flex;
  align-items: center;
}

.search-row .search-btn {
  white-space: nowrap;
}

.goods-list {
  margin-top: 8px;
  height: calc(100vh - 270px);
  overflow-y: auto;
}

.goods-item {
  display: flex;
  padding: 12px;
  background: var(--color-surface);
  border-bottom: 8px solid var(--color-bg-soft);
}

.goods-item .left {
  display: flex;
  align-items: center;
  margin-right: 8px;
}

.goods-item .thumb {
  margin-right: 10px;
}

.goods-item .content {
  flex: 1;
  min-width: 0;
}

.goods-item .title {
  font-size: 14px;
  color: var(--color-fg);
}

.goods-item .badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.goods-item .badges .b {
  border-radius: 4px;
  padding: 2px 6px;
}

.goods-item .meta {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.goods-item .price {
  color: var(--color-danger);
  font-weight: 600;
}

.goods-bottom {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 56px;
  /* above tabbar */
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
}

.goods-bottom .left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.goods-bottom .bulk-btn {
  border-radius: 22px;
}

.goods-bottom-space {
  height: 80px;
}